package com.ruoyi.tbUser.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户管理对象 tb_user
 * 
 * @author ruoyi
 * @date 2025-08-04
 */
public class TbUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户id */
    private String id;

    /** 用户名字 */
    @Excel(name = "用户名字")
    private String userName;

    /** 用户号码 */
    @Excel(name = "用户号码")
    private String phoneNumber;

    /** 用户图片 */
    @Excel(name = "用户图片")
    private String img;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }

    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userName", getUserName())
            .append("phoneNumber", getPhoneNumber())
            .append("img", getImg())
            .toString();
    }
}
